package edu.kjxy.day03.synBlockString2;

/**
 * 功能:
 * 作者:程序员欧阳子韩
 * 日期:2024/2/2 18:55
 */
public class ThreadB extends Thread{
    private Service service;
    public ThreadB(Service service){
        super();
        this.service = service;
    }

    @Override
    public void run() {
        service.b();
    }
}
